from django.http import HttpResponse
from django.shortcuts import render


def hello(request):
    return HttpResponse("Hello World!")


def index(request):
    content = {'hello': 'Hello index!'}

    return render(request, 'index.html', content)


def get_user_list(request):
    user_list = ['Amy', 'Bob', 'Candy']
    return render(request, 'user.html', {'user_list': user_list})
